<?xml version="1.0" encoding="UTF-8"?>
<files>
<file filename="export_customer.csv" search="," replace=" "> 
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://php.net/xsl">
<xsl:output method="text"/>

<xsl:variable name="sepstart" select="'&#34;'"/> <!-- &#34; (character quote) field start seperator -->
<xsl:variable name="sepend" select="'&#34;,'"/> <!-- field end seperator - comma in this case -->

<xsl:template match="/">

<xsl:text>"customer_id","First Name","Last Name"</xsl:text><xsl:text>&#xD;&#xA;</xsl:text>

<xsl:for-each select="objects/object">



<xsl:value-of select="$sepstart"/><xsl:value-of select="entity_id"/><xsl:value-of select="$sepend"/>
<xsl:value-of select="$sepstart"/><xsl:value-of select="firstname"/><xsl:value-of select="$sepend"/>
<xsl:value-of select="$sepstart"/><xsl:value-of select="lastname"/><xsl:value-of select="$sepend"/>



<xsl:text>&#xD;&#xA;</xsl:text> <!-- New Line -->

</xsl:for-each>

</xsl:template>

</xsl:stylesheet>
</file>
</files>